<?php
namespace TennisTournament\Persistent;

use TennisTournament\Model\Security;

interface AuthenticationDao extends GenericDao {

    /**
     * Get {@link Security} by $username and $password
     * @param $username
     * @param $password
     * @return {@link TennisTournament\Model\Security}
     */
    public function getBy($username, $password);

}